<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>系统公告</title>
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <link rel="stylesheet" href="../css/all.css"/>
    <style>
        ul{
            margin: 10px;
            font-size: 13px;
        }
        ul li{
            padding: 5px ;
            border: 1px solid #cccccc;
            margin-top: 8px;
            border-radius: 4px;
        }
        span{
            padding-left: 10px;
       }
    </style>
</head>
<body>
<div class="title">系统公告
    <div class="title_left"><a href="{{urlHome('index','getIndex')}}">返回</a></div>
</div>
    <ul>
        @if(!empty($rows))
            @foreach($rows as $v)
                <a href="{{urlHome('msg','getMsgDetai',['id'=>$v['id'],'type'=>$v['type']])}}"><li style="text-overflow:ellipsis;overflow:hidden;white-space:nowrap;">{{$v['title']}} <span style="float: right;">{{$v['created_at']}}</span></li></a>
            @endforeach
        @else
            <p style="text-align: center;color: lightgray;margin-top:200px;">暂无数据</p>
        @endif
    </ul>
</body>
</html>